<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<title>旅游资讯</title>
	<meta name="keywords" content="旅游资讯">
	<meta name="description" content="旅游资讯">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<link rel="shortcut icon" href="images/favicon.ico">
	
	<!-- include main css -->
	<link rel="stylesheet" type="text/css" href="/Public/css/slick.css"/>	
	<link rel="stylesheet" type="text/css" href="/Public/css/bootstrap.css"/>
	<link rel="stylesheet" type="text/css" href="/Public/css/jquery.mmenu.all.css"/>
	<link rel="stylesheet" type="text/css" href="/Public/css/style.css"/>
	<link href="/Public/font-awesome-4.5.0/css/font-awesome.min.css" rel='stylesheet' type='text/css' media="all" />
	<link rel="stylesheet" type="text/css" href="/Public/css/animate.css"/>
	
	<!--[if lt IE 9]>
    <script src="http://apps.bdimg.com/libs/html5shiv/r29/html5.min.js"></script>
    <script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>
<body>
	
<div>
	<!--header-->
	<header class="header_zi">
		<div class="container">
			<div class="logo">
					   <a href="index.html"><img src="/Public/images/logo.png" alt="" /></a>
			</div>
			<a href="#mmenu" class="phone-nav"><i class="fa fa-list"></i></a>
		   <div class="logo_right">
				 <nav class="nav">
					<ul>    
						<li><a href="<?php echo U('Index/index');?>">首页</a></li>
						<li><a href="<?php echo U('Scenic/scenic');?>">重庆概况</a></li>
						<li><a href="<?php echo U('Travel/travel');?>">旅游推荐</a>
							<ul>
								<li><a href="<?php echo U('Travel/travel',array('type'=>1));?>">美食</a></li>  
								<li><a href="<?php echo U('Travel/travel',array('type'=>2));?>">路线</a></li>
								<li><a href="<?php echo U('Travel/travel',array('type'=>3));?>">住宿</a></li>
							</ul>
						</li>
						<li><a href="<?php echo U('Comfor/comforlist');?>" class="active">热门景点</a></li>
						<li><a href="<?php echo U('News/news');?>">新闻动态</a>
						</li>
						<li><a href="<?php echo U('Feedback/feedback');?>">留言中心</a></li>
						<li><a href="<?php echo U('Contact/contact');?>">联系我们</a></li>
					</ul>
				</nav>
				<div class="search">
					<span class="sea_x">
						<input type="" name="" id="" placeholder="请输入关键词">
						<i class="fa fa-search"></i>		  	
					</span>
					<span class="y_z">
						<a href="" class="zh active">中</a><a href="" class="en">En</a>
						
					</span>
				</div>
		   </div>
			
		</div>
	 </header>
			
	<!--banner  start-->
	<section class="banner_zi">
	    <div><img src="/Public/images/yejing.jpg" alt=""></div>	   
	</section>
	<!--banner end-->
	<div class="head_bar">
		<span>位置：</span><a href="index.html">首页 </a> > <span class="active">热门景点</span>
	</div>
	<div class="comfor_con">
		<div class="top_tit">
			<span class="span1"><?php echo ($show["title"]); ?></span><span style="width:30px;height: 30px;float: right"><img src="/Public/images/heart.png" onclick="hot(this)" id="<?php echo ($show["id"]); ?>" /><span id="hot_num"><?php echo ($show["hot"]); ?></span></span><br />
		</div>
		<div class="com_shi">
			<ul class="wow bounceIn">
				<?php echo ($show["sights_text"]); ?>
			</ul>
		</div>
		<br/><br/>
		<div class="zx_fang">
			<!-- <span class="zx_span"><?php echo ($show["title"]); ?></span> -->
			<div class="f_da wow bounceIn">
				<div><img src="<?php echo ($show["img1"]); ?>" alt="" /><i></i></div>
				<div><img src="<?php echo ($show["img2"]); ?>" alt="" /><i></i></div>
				<div><img src="<?php echo ($show["img3"]); ?>" alt="" /><i></i></div>
				<div><img src="<?php echo ($show["img4"]); ?>" alt="" /><i></i></div><!-- 
				<div><img src="images/fa_da2.jpg" alt="" /><i></i></div>
				<div><img src="images/fa_da3.jpg" alt="" /><i></i></div> -->
			</div>
			<div class="f_xiao">
				<div>
					<div class="pic">
						<img src="<?php echo ($show["img1"]); ?>" alt="" /><i></i>	
					</div>
					<a href=""><?php echo ($show["title"]); ?>景色一</a>
				</div>
				<div>
					<div class="pic">
						<img src="<?php echo ($show["img2"]); ?>" alt="" /><i></i>	
					</div>
					<a href=""><?php echo ($show["title"]); ?>景色二</a>
					
				</div>
				<div>
					<div class="pic">
						<img src="<?php echo ($show["img3"]); ?>" alt="" /><i></i>	
					</div>
					<a href=""><?php echo ($show["title"]); ?>景色三</a>
				</div>
				<div>
					<div class="pic">
						<img src="<?php echo ($show["img4"]); ?>" alt="" /><i></i>	
					</div>
					<a href=""><?php echo ($show["title"]); ?>景色四</a>
				</div>
			</div>
		</div>
	</div>
	
    <!--footer  start-->
	<footer class="footer">
		<div class="footer_con">
				<div class="con">
					<div class="nei">
						<div class="clear"></div>
						<div class="lian">
								学校：泉州师范学院软件学院<br />
								   学号：<a href="">153117126</a><br />
								姓名：<a href="">王双</a><br />
								班级：<a href="">15信管（2）班</a><br /><br />
								<span class="span1"><a href="/index.php/Home/Admin/loginAdmin" style="color:green;font-size:20px;font-weight: bold;">后台登录</a></span>
							   </div>
						
					</div>
				</div>
		</div>
	 </footer>
    <!--footer  end-->
		

<!--Include Js-->
<script src="/Public/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>

<!--移动端导航-->
<script src="/Public/js/jquery.mmenu.all.min.js" type="text/javascript" charset="utf-8"></script>

<script src="/Public/js/public.js" type="text/javascript" charset="utf-8"></script>

<!--slick-->
<script src="/Public/js/slick.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/Public/js/wow.js" type="text/javascript" charset="utf-8"></script>

<!--placeholder-->
<script src="/Public/js/jquery.placeholder.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	$(function(){ 
		$('input, textarea').placeholder(); 
	});

	function hot(obj){
		var dzid = obj.id;
		$.post('/index.php/Home/Comfor/ajaxdianzan/id/'+dzid,function(data){
			alert('点赞成功');
			$("#"+data.id).attr("src", "/Public/images/red_heart.png");
			$("#hot_num").html(data.hot);
		},'json');
	}
</script>

<!--<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>-->

</body>
</html>